<template>
  <div>

<!--加载过程：index.html->main.js->加载App.vue-->
<!--http://localhost:/8080 本质是index.html-->
<!--SPA:单页应用-网站只有一个index.html页面-->
<my-header/>
<!--路由占位符：根据路径切换为对应的组件-->
<router-view></router-view>



<my-footer/>



  </div>
</template>

<script>
import MyFooter from './components/MyFooter.vue'
import MyHeader from './components/MyHeader.vue'
  export default {
  components: { MyHeader, MyFooter },//注册组件到当前App.vue
    

  }



</script>

<style lang="scss" scoped>
//全局引入css文件：@import
@import url('./assets/css/common.css');
@import url('./assets/css/mycss.css');


</style>